package com.feng.util;

class DateTest {
	public static void main(String[] args) {
		String[] date = new String[10];
		String[] year = new String[10];
		String[] month = new String[10];
		String[] day = new String[10];
		date[0] = "10/23/99";
		date[1] = "11/23/99";
		date[2] = "12/31/98";
		date[3] = "01/22/98";
		date[4] = "09/11/98";
		date[5] = "07/15/91";
		date[6] = "07/13/00";
		date[7] = "06/21/07";
		date[8] = "10/25/91";
		date[9] = "11/21/96";
		for (int i = 0; i < 10; i++) {
			if (date[i].substring(6, 7).equals("0")) {
				year[i] = "20" + date[i].substring(6, 8);
			} else {
				year[i] = "19" + date[i].substring(6, 8);
			}
			month[i] = date[i].substring(0, 2);
			day[i] = date[i].substring(3, 5);
			System.out.println(year[i] + "��" + month[i] + "��" + day[i] + "��");
		}
	}
}
